<style src="./index.scss" lang="scss" scoped rel="stylesheet/scss"></style>
<template src="./index.html"></template>
<script>
    export default {
        mixins: [Vue.prototype.$vFN.Mixins.Base, Vue.prototype.$vFN.Mixins.List],

        computed: {

        },
        data() {
            return {
                // 页面接口地址
                apiUrl: {
                    list: "mall-site-portal/wechat-mp-reply/list",
                },
                // 表格查询数据
                mixinList_tableSearchData: {
                    replyType:3
                },
                // 表格数据
                tableData: [],
                boxVisible: false,
                selectData:{},
            };
        },
        methods: {

            // 选择图片
            select(item_) {
                this.selectData = item_;
            },
            submit(){
                this.onSuccess({
                    data: this.selectData,
                });
                this.editBoxCancel();
            },
            // 成功回调
            onSuccess() {},
            // 取消回调
            onCancel() {},
            // 失败回调
            onError() {},
            // 关闭窗口
            editBoxClose() {
                this.boxVisible = false;
            },
            // 取消
            editBoxCancel() {
                this.editBoxClose();
            },

            // 初始化
            async init() {
                this.mixinList_refreshData();
                

            },
        },
        watch: {},
        mounted() {
            this.init();
            this.boxVisible = true;
        },
        beforeCreate() {},
    };
</script>